package com.skeleton.db.entity;

import com.skeleton.db.dto.UserAttentionDto;

public class UserAttention {

	private String loginname_from;
	private String loginname_to;
	private char attention_type;

	public UserAttentionDto toDto() {
		UserAttentionDto dto = new UserAttentionDto();
		dto.setLoginnameFrom(loginname_from);
		dto.setLoginnameTo(loginname_to);
		dto.setAttentionType(attention_type);
		return dto;
	}

	public String getLoginname_from() {
		return loginname_from;
	}

	public void setLoginname_from(String loginname_from) {
		this.loginname_from = loginname_from;
	}

	public String getLoginname_to() {
		return loginname_to;
	}

	public void setLoginname_to(String loginname_to) {
		this.loginname_to = loginname_to;
	}

	public char getAttention_type() {
		return attention_type;
	}

	public void setAttention_type(char attention_type) {
		this.attention_type = attention_type;
	}

}
